package cn.edu.csust.tysp.backend.exception;

public enum ErrorCode {

    FILE_LIST_MUST_BE_NOT_EMPTY("tysp-501","file list must be not empty"),

    FILE_DOES_NOT_EXIST("tysp-502","file does not exist");

    private String errorCode;
    private String errorMsg;

    ErrorCode(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
}
